
import { notification } from 'antd';

const openNotificationWithIcon = (type,massage) => {
  notification[type]({
    message: "错误原因",
    description: massage,
  });
};
export default function errMassage(massage) {
  openNotificationWithIcon("error",massage);
}
